<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>微小站</title>

<style>
    /* reset */
            html { color: #111; background: #fff }
            body, div, ul, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, p, form, fieldset, legend, input, button, textarea { margin: 0; padding: 0 }
            fieldset, img { border: 0 }
            ul { list-style: none }
            h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal }
            input, button, textarea, select, optgroup, option { font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit }
            input, button, textarea, select { *font-size: 100% }

            /* for webkit */
            textarea { resize: none }
            input[type=text]:focus,
            input[type=password]:focus,
            textarea:focus { outline: 0 }

            /* site page */
            body { font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif }
            h2 { color: #111; font-weight: bold; font-size: 17px }
            p { color: #666; line-height: 1.7 }
            a { text-decoration: none }
            a:link { color: #369 }
            a:visited { color: #669 }
 
            .site-logo a:link,
            .site-logo a:visited,
            .site-logo a:active,
            .site-logo a:hover,
            .heartplus h2,
            .stars h2,
            .gears h2 { background: url(/pics/site/icon-site-apply.png) no-repeat }

            .top-nav { margin: 11px auto; width: 950px }
            .top-nav:after { content: '\0020'; display: block; clear: both; height: 0 }
            .top-nav a.logo:link,
            .top-nav a.logo:visited,
            .top-nav a.logo:active,
            .top-nav a.logo:hover { float: left; width: 117px; height: 24px; line-height: 10em; overflow: hidden; background: url(/pics/site/sp_logo.png) no-repeat }
            .top-nav-info { float: right; padding-top: 3px }    
            .top-nav-info a { color: #8b8b8b; margin-left: 10px }

            .header { width: 100%; padding: 44px 0; background: #f0f5f9 }
            .header .section { position: relative; margin: 0 auto; width: 950px }
            .site-logo { margin-bottom: 28px }
            .site-logo a { display: inline-block; *display: inline; zoom: 1; width: 165px; height: 39px; line-height: 10em; overflow: hidden }
            .site-intro { vertical-align: top; color: #666; margin-right: 50px; line-height: 1.6; width: 390px; padding-right: 50px }

            .site-intro,
            .site-setup { display: inline-block; *display: inline; zoom: 1 }
            .site-setup { width: 450px }

            a.bn-cat,
            .bn-submit { display: inline-block; *display: inline; zoom: 1; font-weight: bold; text-align: center; font-size: 17px; color: #369; height: 40px; line-height: 42px;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px
            }
             .bn-submit-red { display: inline-block; *display: inline; zoom: 1; font-weight: bold; text-align: center; font-size: 17px; color: #369; height: 40px; line-height: 42px;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px
            }
            a.bn-cat { position: relative; vertical-align: top; width: 216px; border: 1px solid #eaeaea; background: #fff; _line-height: 40px }
            a.bn-cat:active,
            a.bn-cat:hover,
            a.bn-cat.expand { color: #fff; background: #babcbb }
            a.bn-cat:active { outline: none;
                -moz-outline-style: none
            }
            a.bn-cat b { position: absolute; top: 18px; right: 17px; border-width: 6px 6px 0 6px; border-style: solid; border-color: #aaa #fff transparent #fff }
            a.bn-cat.expand b,
            a.bn-cat:hover b { border-color: #fff #babcbb transparent #babcbb }
 		    .bn-submit-red { border: none; cursor: pointer; margin-left: 10px; width: 165px; color: #fff; background: #f56147; border: 1px solid #f56147 }
            .bn-submit { border: none; cursor: pointer; margin-left: 10px; width: 165px; color: #fff; background: #3fa156; border: 1px solid #3fa156 }
            .bn-submit:hover { background: #3c9a52 }
            .cat-list { display: none; position: absolute; z-index: 999; margin-top: 10px; *margin-top: 52px; *margin-left: -224px; padding: 25px 10px 10px 40px; width: 166px; background: #fff; border: 1px solid #babcbb }
            .cat-list dl { display: inline-block; *display: inline; zoom: 1; line-height: 1.5; width: 75px; vertical-align: top; margin-bottom: 15px }
            .cat-list dt { font-weight: bold; font-size: 14px; margin-bottom: 5px; margin-bottom: 10px\9 }
            .cat-list dd { margin-bottom: 3px }
            .cat-list .other { margin-left: -30px; border-top: 1px solid #babcbb; padding-top: 8px; padding-left: 30px }

            #site-tips { position: absolute; width: 208px; border: 1px solid #babcbb; background: #fff; padding: 27px 24px 13px; padding-bottom: 6px\9 }
            #site-tips li { margin-bottom: 13px; margin-bottom: 20px\9 }
            #site-tips h3 { font-weight: bold; font-size: 14px; margin-bottom: 7px } 

            .content,
            .footer { margin: 0 auto; width: 950px }
            .content .section { margin-bottom: 30px }
            .content .hd { margin-bottom: 35px }
            .content .hd b { color: #dd0331; margin: 0 5px }
            .features { padding: 49px 0 49px 26px }
            .features li { display: inline-block; *display: inline; zoom: 1; padding: 0 42px; width: 162px; border-right: 1px solid #eff3f5 }
            .features h2 { height: 116px; text-align: center; margin-bottom: 35px }
            .features p { }
            .features .gears { border: none }
            .heartplus h2 { background-position: 48px -39px }
            .stars h2 { background-position: 48px -155px }
            .gears h2 { background-position: 48px -269px }

            .site-info,
            .site-list,
            .site-list .pic,
            .site-list .info { display: inline-block; *display: inline; zoom: 1 }
            
            .site-list .pic { vertical-align: top; margin-right: 12px }
            .site-list h3 { font-size: 14px; line-height: 1; margin-bottom: 2px }
            .site-list p { line-height: 1.5 }
            .site-list li { margin-bottom: 25px }
            .site-list .like { color: #333 }

            .site-info { width: 245px; vertical-align: top; margin-right: 62px }
            .contact { color: #999; height: 53px; line-height: 53px; margin-top: 25px; text-align: center; background: #f6f7f6;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px
            }

            .apply-tips { position: absolute; top: 141px; left: 520px; z-index: 10; color: #111 }

            .footer { color: #666; margin-bottom: 20px; padding-top: 43px }
            .footer .links { float: right }
        </style>
</head>
<body>
  <div class="wrapper">    
            <div class="top-nav">
                <a class="logo" href="#">微小站</a>
                <div class="top-nav-info">
	 				<?php if($is_login){?>
				    <a target="_blank" href="http://t.sina.com.cn/<?php echo $user_E->getUid();?>">@<?php echo $user_E->getName();?></a>
				    <a href="<?php echo $this->getUrl("index","auth","logout");?>">退出</a>
				 	<?php }?>
				</div>
              
			</div>
			<div class="header">
                <div class="section">
                    <?php if(!empty($self_site_E)){?>
                  		 <a href="<?php echo $this->getUrl("index","site","index",array("siteid"=>$self_site_E->id));?>" class="bn-submit j a_show_login"><font color="#fff">进入我的小站</font></a> 
                     <?php } else {?>
                    	 <a href="<?php echo $this->getUrl("index","index","apply");?>" class="bn-submit j a_show_login" ><font color="#fff">免费申请</font></a>
                     <?php }?>
                    <?php if(!$is_login){?>
                     <a href="<?php echo $this->getUrl("index","auth","token",array(),array("url"=>$url));?>" class="bn-submit-red j a_show_login"><font color="#fff">新浪微薄帐户登陆</font></a>
                    <?php }?>
                </div>
            </div>
  </div>
</body>
</html>